<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="heal">我需要治疗</div>
    <script>
        var heal = document.getElementById('heal');
        console.log(heal);
        console.log(typeof heal);//返回对象
        console.dir(heal);
    </script>
</body>
</html>